package com.xqboss.common.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * <p>消息服务消费者</p>
 *
 * @author jjj
 * @date 2020/6/3
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "rocket")
public class RocketMqConfig {
    private Boolean enable;
    private String accessKey;
    private String secretKey;
    private String nameSrvAddr;
    private String groupName;
    private String topicPrefix;
}
